Mollie\WooCommerce\Gateway\GatewayModule C

Total Complexity 113
Dependencies 40
Dependents 1
Total lines 803
Lines of code 628
Logical lines of code 378
Comment lines 70
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
services()
B
30 12 139
run()
B
31 12 131
maybeDisableBankTransferGateway()
A
51 13 24
instantiatePaymentMethodGateways()
A
37 6 87
switchFields()
A
57 9 15
addPhoneWhenRest()
A
54 8 21
addPaymentMethodMandatoryFieldsPhoneVerification()
A
55 8 19
disableMollieOnPaymentMethodChange()
S
60 7 12
in3FieldsMandatoryPayForOrder()
S
60 5 12
instantiatePaymentMethods()
S
49 3 35
addPaymentMethodMandatoryFields()
S
55 4 20
addShopOrderMetabox()
S
55 4 19
addBirthdateWhenRest()
S
56 4 19
molliePayPalButtonHandling()
S
62 3 11
mollieApplePayDirectHandling()
S
61 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
isBirthValid()
S
67 2 8
buildPaymentMethod()
S
64 1 11
BillieFieldsMandatory()
S
69 1 6
in3FieldsMandatory()
S
69 1 6
gatewaySurchargeHandling()
S
81 1 3
isPhoneValid()
S
79 1 3